package cn.tedu.csmall520.commons.pojo.cart.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;

@Data
// ApiModel注解 表示当前类支持在knife4j中测试
@ApiModel
public class CartAddDTO implements Serializable {

     @ApiModelProperty(value = "商品编号",name = "commodityCode",example = "PC100")
    private String commodityCode;

    @ApiModelProperty(value = "商品价格",name = "price",example = "200")
    private Integer price;

    @ApiModelProperty(value = "数量",name = "count",example = "10000")
    private Integer count;

    @ApiModelProperty(value = "用户id",name = "userId",example = "UU100")
    private String userId;




}
